import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './permission.js'
import store from './store'
import '@/styles/index.scss' // global css

// 不管是全部引入还是按需引入 ，css样式还是需要全部引入的
// import 'element-ui/lib/theme-chalk/index.css'
// fade/zoom 等
import 'element-ui/lib/theme-chalk/index.css'
import 'element-ui/lib/theme-chalk/base.css'
import ElementUI from 'element-ui'
import '../public/font/iconfont.css'
// 引入全局注册组件
import componentsbg from '@/components'
Vue.use(componentsbg)
Vue.use(ElementUI)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
